package JavaBean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table
public class User{
    @Id
    private String name;
    private String email;
    private String password;
    private String img;
    private String sno;
    public User(){

    }
    public User(String name, String email, String password, String img, String sno){
        this.name=name;
        this.email=email;
        this.password=password;
        this.img=img;
        this.sno=sno;
    }

    public String getEmail() {
        return email;
    }

    public String getImg() {
        return img;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getSno() {
        return sno;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }
}